﻿#ifndef IOCARDMANAGER_H
#define IOCARDMANAGER_H
#include <QObject>
#include "singleton.h"
class IoCardManager : public QObject, public Singleton<IoCardManager>
{
    Q_OBJECT
public:
    explicit IoCardManager(QObject *parent = nullptr);
    bool Init();
    bool SetLightOn(uint8_t index);
	bool SetLightAlwaysOn(uint8_t index);
	void CloseLight();
private:
    unsigned short m_CardNo;
	bool m_bSetOn;
    void Sleep(int msec);

signals:

public slots:
};

#endif // IOCARDMANAGER_H
